package com.yunhe.policyfulfillment;

import com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @ClassName PolicyFulfillmentServerApplication
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/21 14:12
 * @Version 1.0
 **/
@SpringBootApplication(exclude = PageHelperAutoConfiguration.class)
@MapperScan(value = {"com.yunhe.policyfulfillment.authority.repository","com.yunhe.policyfulfillment.policyful.repository"})
@EnableScheduling
@EnableAsync
@ComponentScan(basePackages = {"com.yunhe.common.exception","com.yunhe.policyfulfillment"})
public class PolicyFulfillmentServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(PolicyFulfillmentServerApplication.class , args);
    }
}
